Mark gtk_dialog_new_with_buttons as NULL-terminated
authorBenjamin Moody <benjaminmoody@gmail.com>
Sat, 5 Nov 2011 05:26:48 +0000 (01:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 5 Nov 2011 05:27:25 +0000 (01:27 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=663073

gtk/gtkdialog.h

index ab1d143e2d1088ef0c7b0eb08a5a0954ac92f35e..faff3e3d7e63f13973469bcc241ff2c818c8c35c 100644 (file)
@@ -138,7 +138,7 @@ GtkWidget* gtk_dialog_new_with_buttons (const gchar     *title,
                                         GtkWindow       *parent,
                                         GtkDialogFlags   flags,
                                         const gchar     *first_button_text,
-                                        ...);
+                                        ...) G_GNUC_NULL_TERMINATED;
 
 void       gtk_dialog_add_action_widget (GtkDialog   *dialog,
                                          GtkWidget   *child,